
var settings = require('../../../settings.js');

module.exports = function (req, res) {
  if (req.body.password !== settings.admin.password || req.body.name !== settings.admin.name) {
    res.send('0')
  } else {
    res.send('1')
  }
}